﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{


    [Table]
    [Serializable]
    public class v_DealerDeposit : DataObject
    {
        [Column]
        public int DealerID { get { return fDEALERID; } set { fDEALERID = value; EntityState.FieldChange("DealerID"); } } private int fDEALERID; public static FieldInfo _DealerID = new FieldInfo("v_DealerDeposit", "DealerID");

        [Column]
        public int StoreID { get { return fSTOREID; } set { fSTOREID = value; EntityState.FieldChange("StoreID"); } } private int fSTOREID; public static FieldInfo _StoreID = new FieldInfo("v_DealerDeposit", "StoreID");

        [Column]
        public string StoreName { get { return fSTORENAME; } set { fSTORENAME = value; EntityState.FieldChange("StoreName"); } } private string fSTORENAME; public static FieldInfo _StoreName = new FieldInfo("v_DealerDeposit", "StoreName");

        [Column]
        public string AuthID { get { return fAUTHID; } set { fAUTHID = value; EntityState.FieldChange("AuthID"); } } private string fAUTHID; public static FieldInfo _AuthID = new FieldInfo("v_DealerDeposit", "AuthID");

        [Column]
        public int DeviceID { get { return fDEVICEID; } set { fDEVICEID = value; EntityState.FieldChange("DeviceID"); } } private int fDEVICEID; public static FieldInfo _DeviceID = new FieldInfo("v_DealerDeposit", "DeviceID");

        [Column]
        public string FullSetSN { get { return fFullSetSN; } set { fFullSetSN = value; EntityState.FieldChange("FullSetSN"); } } private string fFullSetSN; public static FieldInfo _FullSetSN = new FieldInfo("v_DealerDeposit", "FullSetSN");

        [Column]
        public decimal Amount { get { return fAMOUNT; } set { fAMOUNT = value; EntityState.FieldChange("Amount"); } } private decimal fAMOUNT; public static FieldInfo _Amount = new FieldInfo("v_DealerDeposit", "Amount");
    }
}